package usbcali.edu.persistencia.control;

import usbcali.edu.persistencia.Cargos;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * interface CargosLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ICargosLogic {
    public List<Cargos> getCargos() throws Exception;

    public void saveCargos(String codCargo,String nombre) throws Exception;

    public void deleteCargos(String codCargo) throws Exception;

    public void updateCargos(String codCargo,String nombre) throws Exception;

    public Cargos getCargos(String codCargo) throws Exception;

    public List<Cargos> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Cargos> findPageCargos(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberCargos() throws Exception;
}
